import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'

//引入ElementUI
import ElementUI from 'element-ui'  
import 'element-ui/lib/theme-chalk/index.css'
// 引入全局初始化文件
import '@/assets/global.less'
// 设置基地址,并且挂载到Vue原型
axios.defaults.baseURL='http://big-event-vue-api-t.itheima.net'
Vue.prototype.$http=axios


Vue.config.productionTip = false

Vue.use(ElementUI)


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
